import { getAxios, postAxios } from '../utils/http.js'

export default {
  banner: (p) => getAxios('/banner'),           //个性推荐-轮播图
  personalized: (p) => getAxios('/personalized'),  //个性推荐-推荐歌单
  playlist_detail: (p) => getAxios('/playlist/detail',p),  //获取歌单详情
  song_detail: (p) => getAxios('/song/detail',p), //获取歌曲详情
  song_url: (p) => getAxios('/song/url',p),        //获取音乐 url
  playlist_hot: (p) => getAxios('/playlist/hot',p),   //热门歌单分类
  topplaylist: (p) => getAxios('/top/playlist',p),    //歌单 ( 网友精选碟 )
  search: (p) => getAxios('/search',p),                   //搜索
  search_suggest: (p) => getAxios('/search/suggest',p), //搜索建议
  toplist: (p) => getAxios('/toplist',p),                     //所有榜单
  artist: (p) => getAxios('/artist/list',p),                   //歌手分类列表
  artistsongs: (p) => getAxios('/artist/songs',p),              //歌手全部歌曲
  artisttopsong: (p) => getAxios('artist/top/song',p),          //歌手热门50首歌曲
  topsong: (p) => getAxios('/top/song',p),   				    //新歌速递
}